home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / misc / emu / iecutil.lha / inc / graphics / gfx.h < prev    next >
Encoding:
Text File  |  1997-05-06  |  659 b   |  26 lines

  1. {$ifndef GRAPHICS_GFX_H}
  2. Const GRAPHICS_GFX_H = 0;
  3.       BITSET = $8000;
  4.       BITCLR = 0;
  5. Type p_Rectangle = ^Rectangle;
  6.      Rectangle = Record
  7.                    MinX, MinY, MaxX, MaxY: integer
  8.                  end;
  9.      p_tPoint = ^tPoint;
  10.      tPoint = Record
  11.                 x, y: integer
  12.               end;
  13.      PLANEPTR = ^Ptr;
  14.      p_BitMap = ^BitMap;
  15.      BitMap = Record
  16.                 BytesPerRow, Rows: Word;
  17.                 Flags, Depth: Byte;
  18.                 pad: Word;
  19.                 Planes: Array[0..7] of PLANEPTR
  20.               end;
  21. Function RASSIZE(w, h: Long): Long;
  22.   begin
  23.     RASSIZE := h*(((w + 15) div 8) and $FFFE)
  24.   end;
  25. {$endif}
  26.